import Vue from "vue";
import "normalize.css/normalize.css"; // A modern alternative to CSS resets
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import locale from "element-ui/lib/locale/lang/en"; // lang i18n
import "@/styles/index.scss"; // global css
import "@/styles/globel.scss"; // global css
import App from "./App";
import store from "./store";
import router from "./router";
import echarts from "echarts";
import "sn-console"
Vue.prototype.$echarts = echarts;
import "@/icons"; // icon
import "@/permission"; // permission control
log.copyright()
log.img("https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_bt%2F0%2F13920323892%2F1000&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1632587666&t=3e9ceb268fe0f8a99c705a978c12a7f0")
// Vue.use(ElementUI, { locale })
// 如果想要中文版 element-ui，按如下方式声明
Vue.use(ElementUI);
if(process.env.NODE_ENV == "development"){
  window.console.log = () => {}
}

Vue.config.productionTip = false;

new Vue({
  el: "#app",
  router,
  store,
  render: h => h(App)
});
